package cn.tx.erp.sys.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * @author Mxb
 * @version 1.0
 * @date 2020/2/6 20:57
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "sys_log_login")
public class Log implements Serializable {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField(value = "loginname")
    private String loginname;

    @TableField(value = "loginip")
    private String loginip;

    @TableField(value = "logintime")
    private Date logintime;

    private static final long serialVersionUID = 1L;

    public static final String COL_ID = "id";

    public static final String COL_LOGINNAME = "loginname";

    public static final String COL_LOGINIP = "loginip";

    public static final String COL_LOGINTIME = "logintime";
}